
import{createStore}  from 'vuex'
// eslint-disable-next-line new-cap

const store = new createStore({
  state:{
    Token: '1'
  },
  mutations: {
    set_Token (state, n = '') {
      state.Token = n
    },
    delete_Token (state, n = '') {
      state.Token = n
    }
  },
  getters: {
    get_Token (state) {
      return state.Token
    }

  },

})
export default store
